package com.lanou.zhihu.service;

import com.lanou.zhihu.entity.User;

/**
 * Created by QuChao on 2018/10/24.
 */
public interface UserService {

    User personal_information(String username);

    User login(String username, String password);

    User changePassword(String username, String phone);

    void register(String username, String password, String phone);

    User register1(Integer id);

    Integer change(String username, String phone);

    boolean changepass(int id, String password);

    void modifyThePicture(Integer id, String filePath);

    User findById(Integer id);
}
